<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>php嵌入html代码</title>
</head>
<body>
@if (count($errors) > 0)
    <div class="alert alert-danger">
        <ul style="color:red;">
            @foreach ($errors->all() as $error)
                <li>{{ trans($error) }}</li>
            @endforeach
        </ul>
    </div>
@endif
<ul>
    <li><a href="./../zh_cn">中文</a></li>
    <li><a href="./../en">英文</a></li>
</ul>
<div class="content">
    <div class="title">{{ trans('welcome.message') }}</div>
    <div class="title">{{ __('welcome.message') }}</div>
</div>
<form method="POST" action="/auth/login">
{!! csrf_field() !!}

<div>
    Email
    <input type="email" name="email" value="{{ old('email') }}">
</div>

<div>
    密码
    <input type="password" name="password" id="password">
</div>

<div>
    <input type="checkbox" name="remember"> {{ __('welcome.remember') }}
</div>

<div>
    <button type="submit">登录</button>
</div>
</form>
</body>
